#!/bin/bash

torch_init=$(python3 -c "import torch; print(torch.__file__);")
torch_path=$(dirname $torch_init)

cd $(dirname $(readlink -f $0))
mkdir include
cp -r $torch_path/include/* include/

mkdir lib
cp -d $torch_path/lib/* lib/